<%@ page pageEncoding="UTF-8" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>

    <header>

        <h:form>
            <rich:panel>
                <h:commandLink action="#{languageBean.changeLanguage}" immediate="true">
                    <f:param name="locale" value="en"/>
                    <h:graphicImage url="/resources/img/en.png" alt="English" title="English" styleClass="small" />
                </h:commandLink>
                <h:commandLink action="#{languageBean.changeLanguage}" immediate="true">
                    <f:param name="locale" value="it"/>
                    <h:graphicImage url="/resources/img/it.png" alt="Italian" title="Italian" styleClass="small"/>
                </h:commandLink>                
            </rich:panel>
        </h:form>

    </header>

